﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Web;
using System.Web.UI.WebControls;

namespace OrganizationStructureTree.Models
{
    public class EmailRecoverModel : EmailModel
    {
        public EmailRecoverModel(string email, string key)
        {
            base.Body = String.Format("Hi. Your password is: {0} please remember it", key);
            base.To = email;
            base.Subject = "Password recovery";
            base.From = "serg.solomentsev@gmail.com";
        }
    }
}